package day38.edu;
// Created: 08/10/2025, ChangJiang Ru
public class Person <T>{
    T t;
    int orderId;

    public Person(T t, int orderId) {
        this.t = t;
        this.orderId = orderId;
    }

    public Person() {
    }

    public void setT(T t)
    {
        this.t = t;
    }

    public T getT()
    {
        return this.t;
    }

    public void setOrderId(int orderId)
    {
        this.orderId = orderId;
    }

    public int getOrderId()
    {
        return this.orderId;
    }

    @Override
    public String toString()
    {
        return this.getT() + ", " + this.getOrderId();
    }
}
